package cn.bs.domain.pojo;

import java.util.Date;

public class OrderPOJO {
    private Integer id;//订单编号
    private String userName;//下单的用户
    private String canteenName;//订餐的餐厅
    private Integer seatId;//订餐的座位id
    private Double orderAmount;//订单金额
    private Date orderDate;//下单时间
    private Double payAmount;//支付金额
    private Date payDate;//支付时间
    private String status;//订单状态，0表示未支付，1表示已支付，2表示已取消

    public OrderPOJO() {
    }

    public OrderPOJO(Integer id, String userName, String canteenName, Integer seatId, Double orderAmount, Date orderDate, Double payAmount, Date payDate, String status) {
        this.id = id;
        this.userName = userName;
        this.canteenName = canteenName;
        this.seatId = seatId;
        this.orderAmount = orderAmount;
        this.orderDate = orderDate;
        this.payAmount = payAmount;
        this.payDate = payDate;
        this.status = status;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getCanteenName() {
        return canteenName;
    }

    public void setCanteenName(String canteenName) {
        this.canteenName = canteenName;
    }

    public Integer getSeatId() {
        return seatId;
    }

    public void setSeatId(Integer seatId) {
        this.seatId = seatId;
    }

    public Double getOrderAmount() {
        return orderAmount;
    }

    public void setOrderAmount(Double orderAmount) {
        this.orderAmount = orderAmount;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Double getPayAmount() {
        return payAmount;
    }

    public void setPayAmount(Double payAmount) {
        this.payAmount = payAmount;
    }

    public Date getPayDate() {
        return payDate;
    }

    public void setPayDate(Date payDate) {
        this.payDate = payDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
